package com.myblog.blog.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 评论表
 * 
 * @author pengyifeng
 * @email pengyifeng@aliyun.com
 * @date 2021-01-02 14:34:18
 */
@Data
@TableName("blog_comments")
public class CommentsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * user_id
	 */
	private Integer userId;
	/**
	 * 评论博文ID
	 */
	private Integer articleId;
	/**
	 * 点赞数
	 */
	private Integer likeCount;
	/**
	 * 评论日期
	 */
	private Date firstDate;
	/**
	 * 评论内容
	 */
	private String content;
	/**
	 * 父评论ID
	 */
	private Integer parentCommentId;

}
